﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CC;
using System.ServiceModel;

namespace Simulator
{
    class Program
    {
        static void Main()
        {
            CController Controller = new CController();

            ServiceHost Host = new ServiceHost(typeof(CController));
            Host.AddServiceEndpoint(typeof(ICController), new NetTcpBinding(), "net.tcp://localhost:54321/");
            Host.Open();

            Console.ReadLine();
            Host.Close();
        }
    }
}
